<?php
//$this->breadcrumbs=array(
//	'Users'=>array('index'),
//	$model->id,
//);

$this->menu=array(
	array('label'=>'List User', 'url'=>array('index'), 'linkOptions' => array('class' => 'btn')),
	array('label'=>'Create User', 'url'=>array('create'), 'linkOptions' => array('class' => 'btn')),
	array('label'=>'Update User', 'url'=>array('update', 'id'=>$model->id), 'linkOptions' => array('class' => 'btn')),
	array('label'=>'Delete User', 'url'=>'#', 'linkOptions'=>array('class' => 'btn', 'submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage User', 'url'=>array('admin'), 'linkOptions' => array('class' => 'btn')),
);
?>

<h2>View User #<?php echo $model->id; ?></h2>

<?php $this->widget('zii.widgets.CDetailView', array(
    'data'=>$model,
    'attributes'=>array(
        'id',
        'code',
        'username',
        'email',
        'password',
        'first_name',
        'last_name',
        'photo',
        'dob',
        'gender_id',
        'religion_id',
        'nationality',
        'national_id',
        'passport_no',
        'married_status',
        'introducer_id',
        'acknowledge',
        'status',
        'role_id',
        'create_by',
        'create_date',
        'update_by',
        'update_date',
    ),
)); ?>